<h1>New GENERIC</h1>

<% form_for(@record) do |f| %>
  <%= f.error_messages %>
	  <% @record.get_headers.each do |a| %>
	<p>
	  <%=view_attr(a,f)%>
	</p>
	<% end %>
    <%= f.submit 'Create' %>
<% end %>
<%= link_to 'Back', medias_path %>